package com.yjd.comm.signup.service;

import java.util.Map;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.signup.model.UserBehaviorModel;

/**
 * <b>description</b>：登陆记录业务接口<br>
 * <b>time</b>：2014-12-18 10:38:16 <br>
 * <b>author</b>：  lindy lindytem@126.com
 */
public interface IUserBehaviorService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public UserBehaviorModel insert(UserBehaviorModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(UserBehaviorModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param user_id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long user_id) throws Exception;

	public void call_proc(Map map)throws Exception;
	
	/**
	* 根据map更新
	* @param map
	* @return
	* @throws Exception
	 */
	public int updateByMap(Map map) throws Exception;

}
